class Mailer < ActionMailer::Base
  
  def send(to, subject, content)
    puts '===============' + ActionMailer::Base.smtp_settings[:user_name] 
    puts '===============' + ActionMailer::Base.smtp_settings[:password] 
    @subject = subject
    @recipients = to
    @sent_on = Time.now
    @body[:content] = {:content => content}
    printf 'subject:%s to:%s content:%s\n', subject, to, content
    @content_type="text/html"
  end

end


